<div id="ballot">
<!-- 	<div>
		<input class="btn" type="text" placeholder="添加店铺">
	</div> -->
	<div class="begin-ballot">
		<ul class="list-inline ">
			<template v-for="(item,index) in jointime">
				<li class="box" v-on:click="goBallot(item.id)">
				<div v-text="item.id"></div>
					<div class="item-1" v-text="item.name"></div>
				</li>
			</template>
		</ul>
	</div>
	
	<div class="result">
		<div class="result-title">
			当前投票总数：<span v-text="sumcount"></span>
		</div>
		<ul class="list-unstyled">
			<template v-for="(item,index) in popular">
				<li class="box">
					<div class="item-1 col-md-1" v-text="index+1"></div>
					<div class="item-2 col-md-3" v-text="item.name"></div>
					<div class="progress item-3 col-md-8">
						<div class="progress-bar" :style="percent(item.count)">						
						</div>
					</div>
				</li>
			</template>
		</ul>
	</div>
</div>
<script type="text/javascript" src="/js/index.js"></script>